import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif']=['SimHei']
move_name= ["雷神","夏洛特的烦恼","热辣滚烫","第二十二条"]
x = range(len(move_name))
y =[5000,4000,4500,6000]

# 1创建画布
plt.figure(figsize=(20,8),dpi=100)

# 2绘制故乡
plt.bar(x,y,color=['b','r','g','y'],width=0.5)
plt.xticks(x,move_name)


plt.show()